TickProvider
Abstract base implementation of ITickProvider
实现: ITickProvider<T>, ITickProvider
属性
ParentAxis : IAxis
Called when the tick provider is initialized as it is attached to the parent axis, with the parent axis instance
方法
ConvertTicks(T[]) : double[]
Converts ticks in generic format to Double, e.g. cast to double for numeric types, or cast DateTime.Ticks to double for DateTime types
- ticks
GetMajorTicks(IAxisParams) : T[]
Returns Generic-typed representation of major ticks array
- axis
- The AxisParams for the axis
返回值: The array of ticks to display (data values converted to T)
GetMinorTicks(IAxisParams) : T[]
Returns Generic-typed representation of minor ticks array
- axis
- The AxisParams for the axis
返回值: The array of ticks to display (data values converted to T)
Init(IAxis)
Called when the tick provider is initialized as it is attached to the parent axis, with the parent axis instance
- axis
- The parent IAxis instance
StockSharp#Xaml#Charting#Visuals#Axes#ITickProvider#GetMajorTicks(IAxisParams)
Returns double representation of major ticks array
- axis
- The AxisParams for the axis
返回值: The array of ticks to display (data values converted to double)
StockSharp#Xaml#Charting#Visuals#Axes#ITickProvider#GetMinorTicks(IAxisParams)
Returns double representation of minor ticks array
- axis
- The AxisParams for the axis
返回值: The array of ticks to display (data values converted to double)